import request from '@/utils/request'

// 需要封装用户API接口
// 形参中 obj 的格式为 {mobile,password}
export const loginAPI = obj => request.post('/sys/login', obj)

// 获取用户基本资料API
export const getUserProfileAPI = () => request.post('/sys/profile')
